﻿@{
    ViewBag.Title = "Meet WACEL";  
}
<hgroup>
    <h2>@ViewBag.Title.</h2>
    <h3>@ViewBag.Message</h3>
</hgroup>
<div class="row-fluid">
    <div class="span12">
        <article>
            <section>
                <p>Windows Azure Cache Extension Library (WACEL) provides you a rich set of large-scale, shared, high-performance data structures such as arrays, priority queues and OLAP cubes backed by a cache cluster. WACEL also provides prebuilt caching layers in front of popular cloud-based services such as Windows Azure Table Storage.</p>
                <p>You just need to write the code once. The library works with Windows Azure Cache service, Windows Azure In-Role Cache, Windows AppFabric Cache on Windows Server, as well as any cache clusters that support Memcache protocol. In other words, once written, your code will work on-premises, on cloud, and on your mobile devices as well. </p>
                <p>You can access your shared data structures and caches from Windows Azure Cloud Service, Windows Azure Web Sites, and Windows 8 applications. You can also access the data structures using our JavaScript library and REST API layer. </p>
            </section>
            <section>
                <p>To get started with is extremely easy. To use C#:</p>
                <ol>
                    <li>Add a reference to WACEL NuGet package.</li>
                    <li>Point your application/website to the cache cluster you want to use.</li>
                    <li>New-up the data structure you want to use and fire away!</li>
                </ol>
                <p>Here’s a quick example to allocate and use a huge array:</p>

<pre class="csharpcode">
CachedArray&lt;<span class="kwrd">int</span>&gt; array = <span class="kwrd">new</span> CachedArray&lt;<span class="kwrd">int</span>&gt; (<span class="str">"my_array"</span>, <span class="kwrd">long</span>.MaxValue);
array[12345] = 200;</pre>
            </section>
            <section>
                <p>WACEL is delivered as a NuGet package, which you can download and install from <a href="https://www.nuget.org/packages/wacel/">NuGet Gallery</a>.</p>
                <p>WACEL is an open-source library under Apache 2.0 license. You can get the complete source code from <a href="https://wacel.codeplex.com/">this Codeplex site</a>.</p>   
            </section>
        </article>
    </div>
</div>